@import '../../assets/css/variables.scss';
.ant-layout-header {
  z-index: 1;
  height: 60px;
  line-height: 60px;
  padding: 0 20px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  .left {
    float: left;
  }
  .right {
    float: right;
    overflow: hidden;
    li {
      float: left;
      height: 100%;
      padding: 0 10px;
      cursor: pointer;
      &:hover {
        color: #333;
        background-color: #f7f7f7;
      }
      svg {
        font-size: 18px;
      }
    }
    .username {
      margin-left: 5px;
      vertical-align: middle;
    }
  }
  a {
    display: block;
    color: #000;
  }
}
.popover-content {
  width: 180px;
  .drop-item {
    display: block;
    padding: 8px 15px;
    border-bottom: 1px solid #f7f7f7;
    cursor: pointer;
    color: #000;
    text-align: center;
    &:hover {
      background-color: #f5f5f5;
      color: #595959;
    }
  }
  .sign-out {
    background-color: #fafafa;
    text-align: center;
    span {
      vertical-align: middle;
    }
  }
}
.message-popover {
  width: 330px;
  font-size: 12px;
  .msg-header {
    display: flex;
    background-color: #f7f7f7;
    .left {
      flex: 1;
      font-size: 14px;
    }
    .right {
      cursor: pointer;
      color: $theme-color;
      &:hover {
        text-decoration: underline;
      }
    }
  }
  .item-block {
    padding: 10px 20px;
  }
  .ls {
    display: block;
    color: #000;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    &:hover {
      background-color: #f7f7f7;
    }
  }
}
